package req

import "gorm.io/gorm"

type Login struct {
	Name string `json:"name" form:"name" binding:"required"`
}
type VideoAdd struct {
	Title  string `json:"title" form:"title" binding:"required" `
	Image  string `json:"image" form:"image"  binding:"required"`
	Url    string `json:"url" form:"url"  binding:"required"`
	Status string `json:"status" form:"status"  binding:"required"`
	UserId int    `json:"user_id" form:"user_id" binding:"required"`
	Label  string `json:"label" form:"label" binding:"required" `
}
type VideoList struct {
	Page   int    `json:"page" form:"page"  binding:"required"`
	Size   int    `json:"size"  form:"size" binding:"required"`
	Title  string `json:"title" form:"title" binding:"required" `
	UserId int    `json:"user_id" form:"user_id" binding:"required"`
	Status string `json:"status" form:"status"  binding:"required"`
	Label  string `json:"label" form:"label" binding:"required" `
}
type VideoFind struct {
	gorm.Model
	VideoId int `json:"video_id" form:"video_id" bind:"required"`
}
